<@override name="styles">
<style type="text/css">
    .x-border{ border:solid 1px #d9e6f0; }
    .x-grid-head-th{ border-right:solid 0; }
    a span { text-decoration: underline; }
</style>
</@override>
<@override name="toolbar">
<div id="panel" xmlns="http://www.w3.org/1999/html">
    <ul>
        <li><a href="#" class="report_seo"><@s.message 'dashbord.create_issue' /></a></li>
        <li><a href="#" class="search"><@s.message 'dashbord.query_issue' /></a></li>
    </ul>
</div>
</@override>
<@override name="main">
<div id="top" style="display:inline">

  <div id="infowrap">
	 <div id="rightnow">
   	  <h3 class="reallynow">
        <span><@shiro.principal/>，<@s.message 'home.welcome'/></span>
        <br/>
   	 </h3>
  	</div>
    <div class="infobox">
        <h3><@s.message 'dashbord.todo_issue'/>&nbsp;(<a href="<@s.url '/issue/list#todo'/>"><span id="todo_count"  class="todo_count"></span></a>)</h3>
        <table id="assign_grid">
        </table>
    </div>
    <div class="infobox margin-left">
        <h3><@s.message 'dashbord.report_issues'/>&nbsp;(<a href="<@s.url '/issue/list#assignee_me'/>"><span id="reporter_count" class="reporter_count"></span></a>)</h3>
        <table id="report_grid">
        </table>
    </div>
  </div>
  <div class="proj-infobox margin-left">
        <h3><@s.message 'dashbord.myproject'/></h3>
        <@shiro.hasAnyRoles name="Admin,Leader">
      	<div style="margin-bottom:5px;margin-left:20px;"> &nbsp;&nbsp; <a href="project/edit/0"><@s.message 'dashbord.new_project'/></a> &nbsp;|&nbsp; <a href="project/list"><@s.message 'dashbord.all_project'/></a></div>
        </@shiro.hasAnyRoles>
        <div id="project_grid">
        </div>
  </div>
</div>
</@override>
<@override name="scripts">
<script type="text/javascript" src="<@s.url '/resources/scripts/dashboard.js'/>"></script>
</@override>
<@extends name="/common/layout.ftl" current="dashboard" title="home.dashboard"></@extends>